﻿@{
    ViewBag.Title = "MembersInfo";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
    var keyValue = $.request("keyValue");
    $(function () {
        $.ajax({
            url: "/SystemManage/User/GetAllMemberFormJson",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                $("#form1").formSerialize(data);
                if(data.ProxyType==0){
                    $("#ProxyType").val("无代理");
                }if(data.ProxyType==1){
                    $("#ProxyType").val("省代理");
                }if(data.ProxyType==2){
                    $("#ProxyType").val("市代理");
                }if(data.ProxyType==3){
                    $("#ProxyType").val("区县代理");
                }
            }
        });
    });
    function submitForm() {
        $.currentWindow().modalClose();
    }
</script>
<form id="form1">
    <div style="margin-top: 10px; margin-left: 10px; margin-right: 10px;">
        <div style=" margin-right: 30px;">
            <table class="form">
                <tr>
                    <th class="formTitle">会员ID</th>
                    <td class="formValue">
                        <input id="F_Account" name="F_Account" type="text" class="form-control" readonly/>
                    </td>
                    <th class="formTitle">会员姓名</th>
                    <td class="formValue">
                        <input id="F_RealName" name="F_RealName" type="text" class="form-control" readonly/>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">身份证号码</th>
                    <td class="formValue">
                        <input id="F_CardId" name="F_CardId" type="text" class="form-control" readonly />
                    </td>
                    <th class="formTitle">联系方式</th>
                    <td class="formValue">
                        <input id="F_MobilePhone" name="F_MobilePhone" type="text" class="form-control" readonly/>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">身份地址</th>
                    <td class="formValue" colspan="3">
                        <div style="width:100%;float:left;display:inline;">
                            <div style="width:20%;float:left;display:inline;">
                                <input id="F_Province" name="F_Province"  class="form-control" readonly/>
                            </div>
                            <div style="width:3%;float:left;display:inline;">&nbsp;&nbsp;&nbsp;</div>
                            <div style="width:20%;float:left;display:inline;"><input id="F_City" name="F_City"  class="form-control" readonly form="form-control"/></div>
                            <div style="width:3%;float:left;display:inline;">&nbsp;&nbsp;&nbsp;</div>
                            <div style="width:20%;float:left;display:inline;"><input id="F_Area" name="F_Area"  class="form-control" readonly form="form-control"/></div>
                            <div style="width:3%;float:left;display:inline;">&nbsp;&nbsp;&nbsp;</div>
                            <div style="width:31%;float:left;display:inline;"><input id="F_IdAddress" name="F_IdAddress" readonly type="text" class="form-control" /></div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">银行开户名</th>
                    <td class="formValue">
                        <input id="F_AccountName" name="F_AccountName" type="text" class="form-control" readonly/>
                    </td>
                    <th class="formTitle">银行帐号</th>
                    <td class="formValue">
                        <input id="F_BankAccount" name="F_BankAccount" type="text" class="form-control" readonly/>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">开户银行</th>
                    <td class="formValue">
                        <input id="" name="F_Bank" type="text" class="form-control" readonly/>
                    </td>
                    <th class="formTitle">开户所在省市</th>
                    <td class="formValue">
                        <input id="F_BankAddre" name="F_BankAddre" type="text" class="form-control" readonly/>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">收货地址</th>
                    <td class="formValue" colspan="3">
                        <input id="F_Address" name="F_Address" type="text" class="form-control" readonly/>
                    </td>
                    @*<th class="formTitle">代理</th>
                    <td class="formValue">
                        <select id="ProxyType" name="ProxyType" class="form-control">
                        </select>
                    </td>*@
                </tr>
                <tr>
                    <th class="formTitle">代理级别</th>
                    <td class="formValue">
                        <input id="ProxyType" name="ProxyType" type="text" class="form-control" readonly />
                    </td>
                    <th class="formTitle">代理区域</th>
                    <td class="formValue">
                        <input id="ProxyCode" name="ProxyCode" type="text" class="form-control" readonly />
                    </td>
                </tr>
                @*<tr>
                    <th class="formTitle">代理地区</th>
                    <td class="formValue" colspan="3">
                        <div style="width:100%;float:left;display:inline;">
                            <div style="width:31%;float:left;display:inline;">
                                <select id="F_Province1" name="F_Province1" style="width:24%;float:left;display:inline;"></select>
                            </div>
                            <div style="width:3%;float:left;display:inline;">&nbsp;&nbsp;&nbsp;</div>
                            <div style="width:31%;float:left;display:inline;"><select id="F_City1" name="F_City1" form="form-control"></select></div>
                            <div style="width:3%;float:left;display:inline;">&nbsp;&nbsp;&nbsp;</div>
                            <div style="width:31%;float:left;display:inline;"><select id="F_Area1" name="F_Area1" form="form-control"></select></div>
                        </div>
                        <input type="hidden" id="ProxyCode" />
                    </td>
                </tr>*@
                <tr>
                    <th class="formTitle" valign="top" style="padding-top: 5px;">
                        备注
                    </th>
                    <td class="formValue" colspan="3">
                        <input id="F_Description" name="F_Description" class="form-control" readonly/>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div style="padding: 0px;height: 40px;line-height: 36px;text-align: right;border-top: 1px solid #ddd;background-color: #eee;position: absolute;top: 100%;margin-top: -50px;width: 100%;padding-right: 6px;">
        @*<a id="btn_finish" class="btn btn-default" onclick="submitForm()">关闭</a>*@
    </div>
</form>

